class Program < ActiveRecord::Base

  belongs_to :channel


  def start_hour
    self.start_time.split(":").first
  end

  def start_minute
    self.start_time.split(":").last
  end

  def end_hour
    self.end_time.split(":").first
  end

  def end_minute
    self.end_time.split(":").last
  end


end
